package thirdwork.dao;

import java.util.List;

import thirdwork.domain.Employee;

public interface EmployeeDao {
	//查询所有员工信息
	public List<Employee> selectAll();
	//插入员工信息
	public int insertEmp(Employee emp);
	//根据id修改员工信息
	public int updateEmp(Employee emp,int empid);
	//根据id删除员工信息
	public int deleteEmp(int id);
	//根据id查找员工
	public Employee findById(int id);
}
